import axios from 'axios';
import {API_NEW_VERSION} from '../api';

const LOADING_LIST_TRACKS = API_NEW_VERSION + 'loading_list_tracks';

// 保存专线跟踪
export const saveSpecialTrace = (params) => {
  return axios.post(LOADING_LIST_TRACKS, params);
};

export const getTrace = (params) => {
  return axios.get(API_NEW_VERSION + 'loading_list_tracks_all', {params: params});
};
